package com.yzh.openai.infrastructure.dao;

import com.yzh.openai.infrastructure.po.OpenaiOrderPO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @description 针对表【openai_order】的数据库操作Mapper
* @Entity generator.domain.OpenaiOrder
*/
@Mapper
public interface OpenaiOrderMapper {
    OpenaiOrderPO queryUnpaidOrder(OpenaiOrderPO orderPO);
    void insert(OpenaiOrderPO orderPO);
    void updateOrderPayInfo(OpenaiOrderPO orderPO);
    int changeOrderPaySuccess(OpenaiOrderPO order);
    OpenaiOrderPO queryOrder(String orderId);
    int updateOrderStatusDeliverGoods(String orderId);
    List<String> queryReplenishmentOrder();
    List<String> queryNoPayNotifyOrderList();
    String queryNoPayNotifyOrder();
    List<String> queryTimeoutCloseOrderList();
    boolean changeOrderClose(String orderId);
}




